home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat4 / salog.z / salog
Encoding:
Text File  |  2001-04-17  |  3.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSAAAALLLLOOOOGGGG((((4444))))                                                              SSSSAAAALLLLOOOOGGGG((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      salog, salog.conf - system administration log
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g is the system administration log file.  Whenever a
  13.      privileged command is run by _r_u_n_p_r_i_v(1M), _r_u_n_p_r_i_v logs the command that
  14.      was run to _s_a_l_o_g.
  15.  
  16.      The privilege commands themselves also log errors, warnings, and
  17.      information messages to the log.
  18.  
  19.      Each line of _s_a_l_o_g is a semi-colon separated list of fields.  The first
  20.      field is the date and time that the message was logged.  The second field
  21.      is a number identifying the type of message: 0000 for an error, 1111 for a
  22.      warning, 2222 for a command run by _r_u_n_p_r_i_v, or 3333 for an informational
  23.      message.
  24.  
  25.      The third field is the process id of the process that logged the message.
  26.      The fourth field is the user id, and the fifth field is the host name.
  27.      The sixth field is a string identifying the source  of the message; this
  28.      is typically the name of the privileged command being run.
  29.  
  30.      The seventh field is either the message or the command that was run.
  31.  
  32.      The _v_i_e_w_l_o_g(1M) program can be used to view the contents of the log.
  33.  
  34.      /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g._c_o_n_f is a configuration file that controls how big
  35.      _s_a_l_o_g can grow before it gets rotated to /_v_a_r/_s_y_s_a_d_m/_o_l_d_s_a_l_o_g and whether
  36.      messages to _s_a_l_o_g also get forwarded to _s_y_s_l_o_g_d(1M).  This configuration
  37.      file is read by /_u_s_r/_l_i_b/_l_i_b_s_a_l_o_g._s_o, which is the library containing the
  38.      routines that _r_u_n_p_r_i_v and the privileged commands use to write to _s_a_l_o_g.
  39.  
  40.      /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g._c_o_n_f is an ascii file.  If it contains a line with the
  41.      single word ssssyyyysssslllloooogggg in it, messages to _s_a_l_o_g will also be sent to _s_y_s_l_o_g_d.
  42.      By default messages are not sent to _s_y_s_l_o_g_d.  If _s_a_l_o_g._c_o_n_f contains a
  43.      line with the string rrrroooottttssssiiiizzzzeeee====_s_i_z_e, then the log will be renamed to
  44.      /_v_a_r/_s_y_s_a_d_m/_o_l_d_s_a_l_o_g and the previous contents of /_v_a_r/_s_y_s_a_d_m/_o_l_s_a_l_o_g
  45.      will be lost when the size of _s_a_l_o_g reaches _s_i_z_e bytes.  If _s_i_z_e is
  46.      smaller than 5555111122220000, the value 5555111122220000 will be used instead.  The default
  47.      rotaion size is 1111000044448888555577776666.
  48.  
  49. FFFFIIIILLLLEEEESSSS
  50.      /var/sysadm/salog        System administration log.
  51.      /var/sysadm/oldsalog     Old system administration log.
  52.      /var/sysadm/salog.conf   System administration log configuration file.
  53.  
  54. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.      sysmgr(1M), viewlog(1M), setlogopt(1M), runpriv(1M), syslogd(1M).
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.